import './assets/main.css'

import { createApp } from 'vue'

// 引入element plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

//引入实例路由
import router from './router';

//引入全局组件
import Demo from './components/Demo.vue'

//引入vue
import App from './App.vue'

//引入vuex
import store from './store';

const app = createApp(App)

//注册全局组件
app.component('Demo',Demo)

//挂载element plus
app.use(ElementPlus)

//挂载路由
app.use(router)

//挂载vuex
app.use(store)

app.mount('#app')
